// import axios from 'axios'

let BASE_URL='https://api.1775.net.cn'


export const myRequest=(options)=>{
	return new Promise((resolve,reject)=>{
		uni.request	
		({
			url:BASE_URL+options.url,
			method:options.method||'Get',
			data:options.data||{},
			success:res=>{
				resolve(res)
			},
			fail:err=>{
				reject(err)
			}
		})
	})
}